package pl.koziolekweb.loggerservice;

public final class JavaSeAdapter implements LoggerFactoryAdapter<java.util.logging.Logger> {

	public java.util.logging.Logger getLogger(Object... factoryArguments) {
		java.util.logging.Logger logger = null;
		if (factoryArguments.length <= 0)
			logger = java.util.logging.Logger.getLogger("");
		if (factoryArguments.length == 1)
			logger = java.util.logging.Logger.getLogger(factoryArguments[0].toString());
		if (factoryArguments.length > 1)
			logger = java.util.logging.Logger.getLogger(factoryArguments[0].toString(), factoryArguments[1].toString());
		return logger;
	}
}